var client = require('./client'),	sys = require('sys');

client.register(process.argv[2], process.argv[3], function(success) {
	
	success = JSON.parse(success);

	sys.puts(success);

	if(success)
	{
		client.login(process.argv[2], process.argv[3], function(success) {
			if(success)
			{
				sys.puts("Logado, daí conecta nos super nodes");
			}
		});
	}
});	